<template />
<script>
import { dateTypes } from '@/utils/enums'
export default {
  name: 'SaleCard',
  props: {
    title: {
      type: String,
      default: ''
    },
    name: {
      type: String,
      default: ''
    },
    ismoney: {
      type: Boolean,
      default: false

    },
    showDate: {
      type: Boolean,
      default: true
    },
    data: {
      type: Object,
      default: () => {
        return {}
      }
    }
  },
  data() {
    return {
      dateTypes,
      date: 7
    }
  },
  methods: {
    handleChangeDate(v) {
      this.$emit('change', v)
    }
  }
}
</script>
